<?php
namespace app\admin\validate;

use think\Validate;

class WithdrawValidate extends Validate
{
    protected $rule = [
        "id" => 'require',
        "status" => 'require|in:-1,2'
    ];

    protected $message = [
        "id.require" => "缺少id",
        'status.require' => '缺少状态值',
        'status.in' => '状态值错误',
    ];

}